# $Id: PKGBUILD 65892 2012-02-22 13:25:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-net-ipv4addr
pkgver=0.10
pkgrel=6
pkgdesc="Perl/CPAN Module Net::IPv4Addr"
arch=("any")
depends=('perl')
url="http://search.cpan.org/dist/Net-IPv4Addr"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-0.10.tar.gz")
md5sums=('57aa8e28ebcd4c0c9f15792740e53d3c')

build() {
  cd $srcdir/Net-IPv4Addr-0.10
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
